Fix hscroll of R2L lines that begin with a TAB or another wide glyph.
authorEli Zaretskii <eliz@gnu.org>
Tue, 29 Jul 2014 08:19:29 +0000 (11:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 29 Jul 2014 08:19:29 +0000 (11:19 +0300)
commitfb94658bfca2d0bbaf5af2a2ec766bd06f7803f4
tree5a952b2f74f577a707d6ebe4af2613d344d45f97
parent1a8701186465a463603a1dfb6198f13548709c45
Fix hscroll of R2L lines that begin with a TAB or another wide glyph.

 src/xdisp.c (append_stretch_glyph): In a R2L glyph row, decrease the
 pixel width of the first glyph that is hscrolled from display.
 (display_line): In R2L glyph rows, don't give a negative offset to
 row->x when the first glyph begins before first_visible_x.
src/ChangeLog
src/xdisp.c